/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved.
 * Description: 
 * Author: g00421808
 * Create: 7/13/2022
 * Notes: 
 */

#ifndef JSBIND_PAF_CONFIG_H
#define JSBIND_PAF_CONFIG_H

#if (JSBIND_BUILD_PAF || PAF_USING_JSBINDING)
# define JSBIND_ASYNC_WORK 1
#endif

#ifdef JSBIND_ENABLE_NAPI
# if JSBIND_ENABLE_NAPI
#  define JSBIND_USING_NAPI 1
# endif
#endif

#ifdef JSBIND_BUILDING_SHARED
# if JSBIND_BUILDING_SHARED
#  define JSBIND_EXPORT __attribute__ ((visibility("default")))
# else
#  define JSBIND_EXPORT
# endif
#else
# define JSBIND_EXPORT
#endif

#ifdef JSBIND_ENABLE_DECLARATION
# define JSBIND_SUPPORT_DECLARATION 1
#endif

#ifdef JSBIND_ENABLE_TRACING
# define JSBIND_USING_TRACING 1
#endif

#endif //JSBIND_PAF_CONFIG_H
